LATEX=latex
PDFLATEX=pdflatex

%.ps : %.tex liste.tex
#	awk -f modifListe.awk liste.tex > listeN.tex
#	mv -f listeN.tex liste.tex
	(${LATEX} $< && ${LATEX} $< && dvips $*.dvi -o $@) &> outputMake

%.pdf : %.tex liste.tex
#	awk -f modifListe.awk liste.tex > listeN.tex
#	mv -f listeN.tex liste.tex
	(${PDFLATEX} $< && ${PDFLATEX} $<) &> outputMake

%.eps : %.tex
	(${LATEX} $< && ${LATEX} $< && dvips -E $*.dvi -o $@) &> outputMake

clean:
	rm -f *.aux *.dvi *.log *.tns outputMake *.pdf
